/****** Object:  Stored Procedure [dbo].spSanPhamDelete Script Date: 6/11/2012 ******/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[spSanPhamDelete]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[spSanPhamDelete]
GO

/******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:					Description:
**		--------	--------				-----------------------------------
**		13/06/2012	SongTM					Innit created
*******************************************************************************/

CREATE PROCEDURE [dbo].[spSanPhamDelete]
(
	@MaThuoc nvarchar(12)
)
WITH ENCRYPTION
AS

SET NOCOUNT ON

DELETE FROM [dbo].[tbl_SanPham]
WHERE
	[MaThuoc] = @MaThuoc
GO

--GRANT EXECUTE ON [dbo].[spSanPhamDelete] TO [sa]
--GO
